﻿using UnityEngine;

public class UILogBehaviour : MonoBehaviour
{
    public static bool globalEnableShowLog = true;
	public bool enableShowLog = true;

	protected virtual void myOnGUI(){}

	void OnGUI()
	{
        if(globalEnableShowLog && enableShowLog)
		{
			myOnGUI();
		}
	}
}